package com.focusai.efairy.model.response;

import com.focusai.efairy.model.project.ProjectItem;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by luo_guangwen on 2017/9/8.
 */

public class ProjectManageResponse {
    public ProjectItem project_info;
    public List<GmItme> gm_list;
    public List<UserItem> user_list;
    public List<DevItem> device_list;
    public static class GmItme {
        public long efairyuser_id; // 管理员编号
        public String efairyuser_nickname;// 管理员名称
        public String efairyuser_phonenumber; // 管理员手机号
    }

    public static class GmItems{
        public int efairyproject_total_gms;//总用户数
        public List<GmItme> gm_list;
    }

    public static class UserItem implements Serializable{
        public long efairyuser_id; // 用户编号
        public String efairyuser_nickname; // 用户名称
        public String efairyuser_phonenumber; // 用户手机号
    }

    public static class UserItems{
        public int efairyproject_total_users;//总用户数
        public List<UserItem> user_list;
    }

    public static class DevItem implements Serializable{
        public long efairydevice_id; //     设备编号
        public String efairydevice_name; //  设备昵称
        public String efairydevice_description;
        public String efairydevice_uuid;
        public long efairydevice_project_id;
        public double efairydevice_location_lat;
        public double efairydevice_location_lng;
        public String efairydevice_install_time;
        public long efairydevice_device_type_id;
        public String efairydevice_address;
        public long efairydevice_belong_system;
        public ArrayList<String> efairydevice_imgurl_list;
        public boolean isSelected;
    }
    public static class DevItems{
        public int efairyproject_total_devices;//总用户数
        public List<DevItem> device_list;
    }

    public static class UserDevItems{
        public int  total_rows;//总用户数
        public List<DevItem> device_list;
    }
}
